<template>
	<view class="common-title">
		<view class="name">
			<slot name="name">
				
			</slot>
		</view>
		<view class="custom">
			<slot name = 'custom'>
				
				more
			</slot>
			
		</view>
	</view>
</template>

<script>
	export default {
		name:"common-title",
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped lang="scss">
	.common-title{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 30rpx;
	}
</style>